<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-attend-edit" >
		<input id="id" name="id"th:value="${attend.id}"  type="hidden">
			<div class="form-group">
			<label class="col-sm-3 control-label">选手名称：</label>
			<div class="col-sm-8">
				<input id="uid" name="uid"th:value="${attend.uid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">竞赛编号：</label>
			<div class="col-sm-8">
				<input id="contestId" name="contestId"th:value="${attend.contestId}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">是否锁定：</label>
			<div class="col-sm-8">
				<!--<input id="defunct"  name="defunct"th:value="${attend.defunct}" class="form-control time-input" type="text"> -->
				<div class="onoffswitch">
					<input type="checkbox" th:checked="${attend.defunct? true : false}" class="onoffswitch-checkbox" id="defunct" name="defunct">
					<label class="onoffswitch-label" for="defunct">
						<span class="onoffswitch-switch"></span>
						<span class="onoffswitch-inner"></span>
					</label>
				</div>
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">已解题量：</label>
			<div class="col-sm-8">
				<input id="solved" name="solved"th:value="${attend.solved}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">合计得分：</label>
			<div class="col-sm-8">
				<input id="score" name="score"th:value="${attend.score}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">罚分：</label>
			<div class="col-sm-8">
				<input id="penalty" name="penalty"th:value="${attend.penalty}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">A题耗时：</label>
			<div class="col-sm-8">
				<input id="aTime" name="aTime"th:value="${attend.aTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">A题有错提交次数：</label>
			<div class="col-sm-8">
				<input id="aWrongsubmits" name="aWrongsubmits"th:value="${attend.aWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="bTime" name="bTime"th:value="${attend.bTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="bWrongsubmits" name="bWrongsubmits"th:value="${attend.bWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="cTime" name="cTime"th:value="${attend.cTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="cWrongsubmits" name="cWrongsubmits"th:value="${attend.cWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="dTime" name="dTime"th:value="${attend.dTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="dWrongsubmits" name="dWrongsubmits"th:value="${attend.dWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="eTime" name="eTime"th:value="${attend.eTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="eWrongsubmits" name="eWrongsubmits"th:value="${attend.eWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="fTime" name="fTime"th:value="${attend.fTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="fWrongsubmits" name="fWrongsubmits"th:value="${attend.fWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="gTime" name="gTime"th:value="${attend.gTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="gWrongsubmits" name="gWrongsubmits"th:value="${attend.gWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="hTime" name="hTime"th:value="${attend.hTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="hWrongsubmits" name="hWrongsubmits"th:value="${attend.hWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="iTime" name="iTime"th:value="${attend.iTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="iWrongsubmits" name="iWrongsubmits"th:value="${attend.iWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="jTime" name="jTime"th:value="${attend.jTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="jWrongsubmits" name="jWrongsubmits"th:value="${attend.jWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="kTime" name="kTime"th:value="${attend.kTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="kWrongsubmits" name="kWrongsubmits"th:value="${attend.kWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="lTime" name="lTime"th:value="${attend.lTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="lWrongsubmits" name="lWrongsubmits"th:value="${attend.lWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="mTime" name="mTime"th:value="${attend.mTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="mWrongsubmits" name="mWrongsubmits"th:value="${attend.mWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="nTime" name="nTime"th:value="${attend.nTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="nWrongsubmits" name="nWrongsubmits"th:value="${attend.nWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="oTime" name="oTime"th:value="${attend.oTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="oWrongsubmits" name="oWrongsubmits"th:value="${attend.oWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="pTime" name="pTime"th:value="${attend.pTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="pWrongsubmits" name="pWrongsubmits"th:value="${attend.pWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="qTime" name="qTime"th:value="${attend.qTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="qWrongsubmits" name="qWrongsubmits"th:value="${attend.qWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="rTime" name="rTime"th:value="${attend.rTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="rWrongsubmits" name="rWrongsubmits"th:value="${attend.rWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="sTime" name="sTime"th:value="${attend.sTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="sWrongsubmits" name="sWrongsubmits"th:value="${attend.sWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="tTime" name="tTime"th:value="${attend.tTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="tWrongsubmits" name="tWrongsubmits"th:value="${attend.tWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="uTime" name="uTime"th:value="${attend.uTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="uWrongsubmits" name="uWrongsubmits"th:value="${attend.uWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="vTime" name="vTime"th:value="${attend.vTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="vWrongsubmits" name="vWrongsubmits"th:value="${attend.vWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="wTime" name="wTime"th:value="${attend.wTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="wWrongsubmits" name="wWrongsubmits"th:value="${attend.wWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="xTime" name="xTime"th:value="${attend.xTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="xWrongsubmits" name="xWrongsubmits"th:value="${attend.xWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="yTime" name="yTime"th:value="${attend.yTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="yWrongsubmits" name="yWrongsubmits"th:value="${attend.yWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="zTime" name="zTime"th:value="${attend.zTime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">：</label>
			<div class="col-sm-8">
				<input id="zWrongsubmits" name="zWrongsubmits"th:value="${attend.zWrongsubmits}" class="form-control" type="text">
			</div>
		</div>
		</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "acm/attend";
	$("#form-attend-edit").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/editDo", $('#form-attend-edit').serialize());
		}
	}
</script>
</body>
</html>
